<?php
/**
* Suggestme.php interfaces the ajax call with the PHP class
*
* <p>This file is used as the interface between the client AJAX call
* and the actual data supplier</p>
*
* PHP version 5
*
* @category  Formatter
* @package   Suggest
* @author    Sakthivel Ganesan <sg@capjo.com>
* @author    Sasikumar Periyasamy <sasi@capjo.com>
* @copyright 2011 Capjo Systems
* @license   http://codecanyon.net/wiki/support/legal-terms/licensing-terms/ code canyon license
* @version   SVN: <1.0>
* @link      http://www.capjo.com
*/
require_once 'SuggestGear.php';

$incomingword=$_GET['inword'];
$sgInterface=new SuggestGear();
$replyText=$sgInterface->getRelatedKeywords($incomingword);
echo utf8_encode($replyText);
?>
